package panda.syntax;

import panda.query.struct.Attribute;

public class AttributeValue implements Attribute {
	
	public static final int AVG = 1, COUNT = 2, MIN = 3, MAX = 4, SUM =5;

	public ColumnName columnName;
	
	public int func;
	
	public AttributeValue(ColumnName c) {
		columnName=c;
		func=0;
	}
	
	public AttributeValue(ColumnName c, int func) {
		columnName=c;
		this.func=func;
	}
	
	public String getAttributeName() {
		return columnName.columnName;
	}

}
